Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update databricks-configs.md for merge settings #6682

Merged
merged 5 commits into from
Dec 23, 2024

Conversation

benc-db
Copy link
Contributor

@benc-db benc-db commented Dec 17, 2024

What are you changing in this pull request and why?

1.9.1 dbt-databricks added a missed merge option, where you can update rows on non-match. Updating the docs to cover it.

Checklist

@benc-db benc-db requested review from amychen1776 and a team as code owners December 17, 2024 17:25
Copy link

vercel bot commented Dec 17, 2024

@benc-db is attempting to deploy a commit to the dbt-labs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Dec 17, 2024
Copy link

vercel bot commented Dec 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Dec 18, 2024 6:38pm

- `not_matched_by_source_condition`: Condition to apply to the further filter `WHEN NOT MATCHED BY SOURCE` clause. Only used in conjunction with `not_matched_by_source_action: delete`.
- `not_matched_by_source_action`: If set to `delete`, a `DELETE` clause is added to the merge statement for `WHEN NOT MATCHED BY SOURCE`.
- `not_matched_by_source_condition`: Condition to apply to the further filter `WHEN NOT MATCHED BY SOURCE` clause. Only used in conjunction with `not_matched_by_source_action`.
- `not_matched_by_source_action`: Action to apply when the condition is met. For example: `update set t.attr1 = 'deleted', t.tech_change_ts = current_timestamp()`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benc-db This wording is unclear to me. Is this a boolean field or one that takes inputs like delete (and maybe others?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes an expression, like the example.

@matthewshaver
Copy link
Contributor

@amychen1776 I've approved the editorial review but wanted to ensure your query was satisfied before merging.

@mirnawong1
Copy link
Contributor

looks like @amychen1776 has approved this so going to merge this pr. thanks @amychen1776 @matthewshaver and @benc-db !

@mirnawong1 mirnawong1 disabled auto-merge December 23, 2024 15:48
@mirnawong1 mirnawong1 merged commit a7a0aac into dbt-labs:current Dec 23, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants